using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Workflow2211A.Domain.Entities;

namespace Workflow2211A.Domain.RBAC
{
    /// <summary>
    /// 角色表
    /// </summary>
    [Table("Roles")]
    public class RolesModel : BaseEntity
    {
        /// <summary>
        /// 角色名称
        /// </summary>
        [Required]
        [StringLength(100)]
        public string RoleName { get; set; }
        /// <summary>
        /// 是否启用
        /// </summary>
        public bool RoleState { get; set; }

    }
}